import request from '@/utils/request'
const baseApi = '/xmtsc-api'
// 账号管理-保存企业基本信息
export function saveCompanyInfo(data) {
    return request({
        url: baseApi + '/api/companyInfo/saveCompanyInfo',
        method: 'post',
        data: data
    })
}
// 账号管理-查询认证状态
export function getAuthenticationStatus(data) {
    return request({
        url: baseApi + '/api/companyauthen/getAuthenticationStatus',
        method: 'post',
        data: data
    })
}
// 账号管理-提交营业执照
export function submitBusinessLicense(data) {
    return request({
        url: baseApi + '/api/companyauthen/submitBusinessLicense',
        method: 'post',
        data: data
    })
}
// 账号管理-消息中心-获取分页消息列表
export function accountMessageList(data) {
    return request({
        url: baseApi + '/api/messages/list',
        method: 'post',
        data: data
    })
}
// 账号管理-消息中心-批量修改消息状态为已读
export function accountMessageUpdateByIds(data) {
    return request({
        url: baseApi + '/api/messages/update/ids',
        method: 'post',
        data: data
    })
}
// 账号管理-消息中心-批量删除消息
export function accountMessageDeleteByIds(data) {
    return request({
        url: baseApi + '/api/messages/delete/ids',
        method: 'post',
        data: data
    })
}
// 账号管理-消息中心-删除消息
export function accountMessageDelete(id) {
    return request({
        url: baseApi + '/api/messages/delete/' + id,
        method: 'delete',
    })
}
